package lesson1;

public class Demo1 {
    public static void main(String[] args) {
//        Person person1 = new Person();
//        person1.setName("张三");
//        Person person2 = new Person();
//        boolean flag = person1.isEquals(person2);
        Person person1 = new Person();
        Person person2 = person1;
        boolean flag = person2.isEquals(person1);

    }

}
